package de.app.fbc.user

import javax.jdo.annotations.*;
import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.Blob;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true")
class Gruppe implements Serializable {

	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	Key key
	
	@Persistent
	String gruppenName
	
	@Persistent
	Boolean hasPasswort
	
	@Persistent
	String justWithPasswort
	
	@Persistent
	byte[] logo
	
	static constraints = {
    	gruppenName(nullable:false)
	}
	public String toString()
	{
		 return this.gruppenName;
	}
}
